<?php
$mod_right_topic_wei = MBGlobal::getAdminRecomm()->getMod(6);

$right_topic_wei_arr = MBGlobal::getAdminRecomm()->showRightTopicWei(0, $mod_right_topic_wei['list'][0]['p2'], 1);
$link="index.php?m=topic&k=";

if($mod_right_topic_wei['list'][0]['status']){
?>
<table width="288" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="7">&nbsp;</td>
		<td>
			<table width="272" height="43" border="0" cellpadding="0" cellspacing="0" background="style/images/login/rightsidebar.gif">
				<tr>
					<td width="45">&nbsp;</td>
					<td width="185" align="center" valign="baseline" class="f18"><?php echo $mod_right_topic_wei['list'][0]['name']?></td>
					<td width="42" align="left"><a href="#" target="_blank" class="whter"></a></td>
				</tr>
			</table>
		</td>
		<td width="7">&nbsp;</td>
	</tr>
	
	<?php
	foreach ($right_topic_wei_arr['list'] as $k=>$h){
	?>
	<tr>
		<td>&nbsp;</td>
		<td align="center">
			<table width="245" height="58" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td height="34" colspan="2" align="left" valign="middle" class="f14"><a href="<?php echo $link.$h["text"]?>" target="_blank" class="ft14 fontbold"><?php echo $h['title']?></a></td>
				</tr>
				<tr>
					<td width="133" align="left" valign="middle">
						<table border="0" cellpadding="0" cellspacing="2" bgcolor="#FFFFFF" class="bk1">
							<tr>
								<td><a href="<?php echo $link.$h["text"]?>" target="_blank"><img src="<?php echo MB_UPLOAD_PATH.$h['image']?>" width="117" height="97" border="0" /></a></td>
							</tr>
						</table>
					</td>
					<td width="112" align="left" valign="top" class="f9"><?php echo $h['summary']?><a href="<?php echo $link.$h["text"]?>" target="_blank">[详情]</a></td>
				</tr>
			</table>
		</td>
		<td>&nbsp;</td>
	</tr>
	<?php
	}
	?>
</table>
<?php
}
?>